package com.jk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author mhj
 * @version 1.0
 * @description: 马辉杰
 * @date 2022/11/2 15:21
 */
@Data
@TableName(value = "stafftable")
public class StaffEntity {
    @TableId(type = IdType.AUTO)
    private  Integer    id;
    private  Integer    staffnumber;
    private  String     staffName;
    private  Integer    staffsex;
    private  String     staffdate;
    private  String     staffimg;
    private  Double     staffmoney;
    private  String     staffage;
    private  String     staffcard;
    //盐
    private String salt;
    private String account;
    private String password;
    private String role;
    //token
    @TableField(exist = false)
    private String token;
}
